package com.dayuanit.dy8.mall.springbootmall.entity;

import java.util.Date;

public class Commodity {
    private Integer id;

    private String commoName;

    private Integer price;

    private Integer stocks;

    private String pictureUrl;

    private Byte status;

    private Byte parentCatalog;

    private Byte childCatalog;

    private String author;

    private String press;

    private String pubDate;

    private String isbn;

    private String commoLable;

    private String score;

    private Date createTime;

    private Date modiyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommoName() {
        return commoName;
    }

    public void setCommoName(String commoName) {
        this.commoName = commoName == null ? null : commoName.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getStocks() {
        return stocks;
    }

    public void setStocks(Integer stocks) {
        this.stocks = stocks;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl == null ? null : pictureUrl.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getParentCatalog() {
        return parentCatalog;
    }

    public void setParentCatalog(Byte parentCatalog) {
        this.parentCatalog = parentCatalog;
    }

    public Byte getChildCatalog() {
        return childCatalog;
    }

    public void setChildCatalog(Byte childCatalog) {
        this.childCatalog = childCatalog;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press == null ? null : press.trim();
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate == null ? null : pubDate.trim();
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn == null ? null : isbn.trim();
    }

    public String getCommoLable() {
        return commoLable;
    }

    public void setCommoLable(String commoLable) {
        this.commoLable = commoLable == null ? null : commoLable.trim();
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score == null ? null : score.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModiyTime() {
        return modiyTime;
    }

    public void setModiyTime(Date modiyTime) {
        this.modiyTime = modiyTime;
    }
}